package org.zhucy.design.singleton;

/**
 * @Auther: zhuchunyang
 * @Date: 2019/6/25 11:47
 * @Description:
 */
public class My3Singleton {

    private static My3Singleton my3Singleton=null;

    static {
        my3Singleton = new My3Singleton();
    }
    private My3Singleton(){};

    public static My3Singleton getInstance() {
        return my3Singleton;
    }
}
